package com.yuan.java枚举类型;

import lombok.AllArgsConstructor;
import lombok.Getter;

/*
 *  @author 雨安
 *  类名： TestEnum2
 *  创建时间：2024/4/24
 */
@Getter
@AllArgsConstructor
public enum TestEnum2 {
    CODE("200","我是消息体","叶雨安"),;
    private String code;

    private String msg;

    private String name;

    public static void main(String[] args) {
        System.out.println(TestEnum2.CODE.getCode());

        System.out.println(TestEnum2.CODE.getMsg());

        System.out.println(TestEnum2.CODE.getName());
    }

}
